]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
loginDialog: Make notListedButton accessible
authorMike Gerow <gerow@google.com>
Wed, 13 Jan 2021 20:29:35 +0000 (12:29 -0800)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 13 Jan 2021 21:10:03 +0000 (22:10 +0100)
Without this a screen reader just calls the notListedButton a
"push button" instead of also including the "Not listed?" text.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1567>

js/gdm/loginDialog.js

index 9acb01c6879299e7e2d9816b57f91cb852a05c20..baddc22cd0089613063e3ba0d362bff29e4311c2 100644 (file)
@@ -464,6 +464,7 @@ var LoginDialog = GObject.registerClass({
             child: notListedLabel,
             reactive: true,
             x_align: Clutter.ActorAlign.START,
+            label_actor: notListedLabel,
         });
 
         this._notListedButton.connect('clicked', this._hideUserListAskForUsernameAndBeginVerification.bind(this));